package com.hmall.item.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hmall.item.pojo.Item;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ItemMapper extends BaseMapper<Item> {

    @Select("select distinct  category from tb_item")
    String[] selectCategory();

    @Select("select distinct  brand from tb_item")
    String[] selectBrand();



}
